<!DOCTYPE html>

<html lang='en'>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/react.development16.4.0.js"></script>
    <script src="./lib/react-dom.development16.4.0.js"></script>
    <script src="./lib/babel.min.js"></script>
</head>

<body>
    <!--React.createClass 在react 16版本中已经被弃用 -->
    <div id="app">
    </div>
    <script type="text/babel">
       var MyComponent03 = React.createClass({
           render :function(){
               return <h1>ES5 创建组件的方式，已经弃用！！！！</h1>
           }
       });

        ReactDOM.render(
            <MyComponent03/>,document.getElementById('app')
        );
    </script>
</body>

</html>